package com.zhiyou100.crm.dao;

import com.zhiyou100.crm.pojo.Notice;
import com.zhiyou100.crm.pojo.User;

import java.util.List;

public interface NoticeDao {
    public abstract List<Notice> queryAllNotice() throws Exception;
    public abstract Boolean removeById(int noticeId) throws Exception;
    public abstract Notice queryNoticeById(int notice_id) throws Exception;
    public abstract List<Notice> queryNoticeByFile(Notice notice) throws Exception;
    public abstract int addNotice(Notice notice) throws Exception;
    public abstract int upadteNotice(Notice notice) throws Exception;
}
